/* 
 * File:   UserCommand.h
 * Author: Gab'z
 *
 * Created on 27 mai 2012, 22:10
 */

#ifndef USERCOMMAND_H
#define	USERCOMMAND_H

#include "UndoableRedoableCommand.h"

namespace calculator {
//
//    class UserCommand : public UndoableRedoableCommand {
//        friend class CommandMap;
//    public:
//
//        virtual ~UserCommand();
//        bool isExecutable() const;
//        virtual UserCommand* clone() const;
//
//        const Memento* createMemento() const throw (CommandException);
//        void restoreFromMemento(const Memento* memento) const throw (MementoException);
//    private:
//        UserCommand(const std::string name);
//        UserCommand(const UserCommand& orig);
//
//        void eval(Stack* stack) const throw (CommandException);
//    };
}
#endif	/* USERCOMMAND_H */

